package com.zfl.mapper;

import com.zfl.entity.RolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RolePermissionMapper {
    /** 查询所有角色-权限位总和的关联关系 */
    @Select("SELECT * FROM role_permission")
    List<RolePermission> selectAll();
}
